﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace zlh.banganyemian
{
    public partial class banchengji : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void Page_PreInit(object sender, EventArgs e)
        {
            if (Session["color"] == "1")
            {
                Page.Theme = "1";

            }
            else if (Session["color"] == "2")
            {
                Page.Theme = "2";
            }
            else
            {
                Page.Theme = "3";
            }
        }

        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        //    protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
        //    {
        //        lib.Lid = ((TextBox)(GridView1.Rows[e.RowIndex].Cells[0].Controls[0])).Text;
        //        lib.Ldate = Convert.ToDateTime(((TextBox)(GridView1.Rows[e.RowIndex].Cells[1].Controls[0])).Text);
        //        lib.Lbanji = ((TextBox)(GridView1.Rows[e.RowIndex].Cells[2].Controls[0])).Text;
        //        lib.Lname = ((TextBox)(GridView1.Rows[e.RowIndex].Cells[3].Controls[0])).Text;
        //        lib.Lshijiang = ((TextBox)(GridView1.Rows[e.RowIndex].Cells[4].Controls[0])).Text;
        //        lib.Lwancheng = ((TextBox)(GridView1.Rows[e.RowIndex].Cells[5].Controls[0])).Text;
        //        lib.genxin(lib);
        //        Response.Write("<script>alert('修改成功！');</script>");

        //        gvBind();
        //    }
        //}
    }
}